<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>中国传媒大学设备预约平台</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="{$projectUrl}/css/admin_style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{$projectUrl}/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="{$projectUrl}/js/jquery.cycle.all.min.js"></script>
<script type="text/javascript" src="{$projectUrl}/js/globalJsFunction.js"></script>
<script type="text/javascript" src="{$projectUrl}/js/calendar/calendar.js"></script>
<script type="text/javascript" src="{$projectUrl}/js/calendar/WdatePicker.js"></script>
<script type="text/javascript">
</script>
</head>
<body>
<div class="main">
  <div class="main_resize">
    <div class="main_left">
      {include file=include/headerLogo.html}
      <div class="clr"></div>
      {include file=include/userLeftMenu.html}
      <div class="clr"></div>
      <h2>&nbsp;</h2><!--
      <h2>Our News</h2>
      <p><span>12 Dec 2015 | 0 comments</span><br />
        <strong>Duis nec porttitor lorem</strong><br />
        Mauris et nisi urna nonfaucibus magna. Integer lacus ante then ullamcorper ut vulputate..</p>
      <p><span>14 Dec 2015 | 0 comments</span><br />
        <strong>Duis nec porttitor lorem</strong><br />
        Mauris et nisi urna nonfaucibus magna. Integer lacus ante then ullamcorper ut vulputate..</p>
      <h2>&nbsp;</h2>
      <h2>What They Say</h2>
      <p>&quot;Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse voluptas nulla pariatur?&quot;</p>
      <p><em><strong>by: John S., webdesigner</strong></em></p>-->
    </div>
    <div class="main_right">
      {include file=include/headerLogin.html}

      <div class="clr" style="background-color:#C63; height:1px;">&nbsp;</div>
      <div>
      {include file=include/adminTopMenu.html}
      </div>
      <div class="clr">
      </div>

      <!-- 搜索用户并且进行修改 -->
      <div class="clr">
       <!--全部用户的列表-->
                <div>{$note}
               		<p>
                    <table width="100%" bgcolor="#EEEEEE" style="font-size:14px;">
                    
                    <tr valign="top"  onmouseout="this.style.backgroundColor=''"onmouseover="this.style.backgroundColor='#AAAAAA'">
                    <td>
                        <span style="font-size:12px;">名字：</span>
                    </td>
                  	<td><span style="font-size:10px; font-color:#000000">{$editUser.name}</span></td>
                  	<td><span style="font-size:10px; font-color:#000000">
                  		{if $editUser.level eq "0"}学生{elseif $editUser.level eq "1"}教师{elseif $editUser.level eq "2"}管理员{/if}
                  		</span>
                  	</td>
                    </tr>
                    <tr valign="top"  onmouseout="this.style.backgroundColor=''"onmouseover="this.style.backgroundColor='#AAAAAA'">
                    <td>
                        <span style="font-size:12px;">总预约次数：</span>
                    </td>
                   	<td>
                        	<span style="font-size:10px; font-color:#000000">{$editUser.booktime}</span>
                    </td>
                  	<td></td>
                    </tr>
                    <tr valign="top"  onmouseout="this.style.backgroundColor=''"onmouseover="this.style.backgroundColor='#AAAAAA'">
                    <td>
                        <span style="font-size:12px;">所在班级：</span>
                    </td>
                  	<td><span style="font-size:10px; font-color:#000000">{$editUser.classname}</span></td>
                  	<td></td>
                    </tr>
                    <tr valign="top"  onmouseout="this.style.backgroundColor=''"onmouseover="this.style.backgroundColor='#AAAAAA'">
                    	<form action="user.php?id={$editUser.id}" method="post">
                    		 <td>
                    			<input type="hidden" name="userId" value="{$editUser.id}" />
                    			<input type="hidden" name="action" value="modifyUserPassword" />
                        <span style="font-size:12px;">新密码：</span>
                        	
                        </td>
                        <td>
                        	<span style="font-size:12px;"><input type="password" name="password1" value=""/></span>
                        	<span style="font-size:12px;">再输入一次<input type="password" name="password2" value=""/></span>
                        </td>
                        <td>
                        	<input type="image" src="{$projectUrl}/images/save.jpg" class="button"/>
                        </td>
                      </form>
                    </tr>
                    <tr valign="top"  onmouseout="this.style.backgroundColor=''"onmouseover="this.style.backgroundColor='#AAAAAA'">
                    	<form action="user.php?id={$editUser.id}" method="post">
                    		<td>
                    			<input type="hidden" name="userId" value="{$editUser.id}" />
                    			<input type="hidden" name="action" value="modifyUserEmail" />
                        <span style="font-size:12px;">Email：</span><span style="font-size:10px; font-color:#000000"></span>
                        </td>
                        <td>
                        	<input type="text" name="email" value="{$editUser.email}"/>
                        </td>	
                        <td>
                        <input type="image" src="{$projectUrl}/images/save.jpg" class="button"/>
                      </td>
                      </form>
                    </tr>
                    <tr valign="top"  onmouseout="this.style.backgroundColor=''"onmouseover="this.style.backgroundColor='#AAAAAA'">
                    
                    	<form action="user.php?id={$editUser.id}" method="post">
                    		<td>
                    			<input type="hidden" name="userId" value="{$editUser.id}" />
                    			<input type="hidden" name="action" value="modifyUserPhone" />
                        <span style="font-size:12px;">手机：</span><span style="font-size:10px; font-color:#000000"></span>
                      </td>
                      <td>
                        	<input type="text" name="phone" value="{$editUser.phone}"/>
                        </td>
                        <td>
                        <input type="image" src="{$projectUrl}/images/save.jpg" class="button"/>
                      </td>
                      </form>
                    </tr>
                    <tr onmouseout="this.style.backgroundColor=''"onmouseover="this.style.backgroundColor='#AAAAAA'">
                    
                    	<form action="user.php?id={$editUser.id}" method="post">
                    			<input type="hidden" name="userId" value="{$editUser.id}" />
                    			<input type="hidden" name="action" value="modifyUserInfo" />
                    			<td>
                        <span style="font-size:12px;">说明档：</span>
                        </td>
                        <td>
                        	<span style="font-size:10px; font-color:#000000">
                        	<textarea name="info">{$editUser.info}</textarea>
                        	</span>
                        </td>
                        <td>
                        <input type="image" src="{$projectUrl}/images/save.jpg" class="button"/>
                      </td>
                      </form>
                    </tr>
                    
                    
                    <tr valign="top"  onmouseout="this.style.backgroundColor=''"onmouseover="this.style.backgroundColor='#AAAAAA'">
                    <td>
                        <span style="font-size:12px;">创建时间：</span>
                    </td>
                  	<td><span style="font-size:10px; font-color:#000000">{$editUser.createtime}</span></td>
                  	<td>
                  	</td>
                    </tr>
                    
                    </table>
                	</p>  
                </div>
                <!--全部用户的列表-->
      </div>
     


    </div>
    
    <!-- 展示用户的课程列表 -->
    <div class="clr">
    	
    </div>
  </div>
  <div class="footer">
    {include file=include/footer.html}
  </div>
</div>
<div align=center></div></body>
</html>
